package com.corecloud.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.corecloud.mapper.mysql.OtherBaseMapper;
import com.corecloud.service.OtherBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("otherBaseService")
@DS("mysql")
public class OtherBaseServiceImpl implements OtherBaseService {

    @Autowired
    private OtherBaseMapper otherBaseMapper;


    @Override
    public Map<String, Object> getWelcomePageData() {
        return otherBaseMapper.getWelcomePageData();
    }

    @Override
    public List<Map<String, Object>> getWelcomeMapData() {
        return otherBaseMapper.getWelcomeMapData();
    }


    @Override
    public List<Map<String, Object>> getWelcomeLogData() {
        return otherBaseMapper.getWelcomeLogData();
    }
}